Skip to content

Refine the observatory hero: honest copy, navigational stats, weekly flow, tokens - #81

Merged
l0cka merged 2 commits into
mainfrom
feat/hero-refinement
Aug 8, 2026
Merged

Refine the observatory hero: honest copy, navigational stats, weekly flow, tokens#81
l0cka merged 2 commits into
mainfrom
feat/hero-refinement

Conversation

@l0cka

@l0cka l0cka commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Four refinements to the observatory hero, on its own terms — no re-aesthetic.

  1. Copy accuracy: "tracks … in real time" → "checked daily". The collector runs once a day and ISR revalidates hourly; on this site, the hero overclaiming its own freshness is the worst kind of bug.
  2. Navigational stats: the four figures become doorways — verified policies → the register section, jurisdictions → /map, developments → /developments, sources monitored → /methodology, with token-driven hover states.
  3. Weekly flow: "+N this week" under the developments figure, computed server-side from detection dates and anchored to the data's own collection timestamp (deterministic per revalidation; hidden when zero — no fake vitality).
  4. Tokens: all 19 hardcoded hero hexes move onto --hero-* constants documented as a deliberately single-look panel; the two near-identical greens unify on the dark theme's trust colour, accent blues on the dark primary, and the CTA gradient flattens to the system's single-accent style (visually near-identical).

Verified on Argus: typecheck, lint (including the render-purity rule that shaped #3), 442/442 tests, next build, screenshots light/dark/mobile with no overflow. Side-by-side A/B captures reviewed.

🤖 Generated with Claude Code

l0cka added 2 commits August 8, 2026 13:56
The observatory hero's four figures become doorways: policies scroll to
the register, jurisdictions open the map, developments and sources go to
their pages, with a '+N this week' delta under developments computed from
detection dates. The description no longer claims real time, which the
daily collector cannot honour; it says checked daily. Every hero hex
moves onto --hero-* tokens borrowed from the dark palette, the CTA
gradient flattens to the system's single-accent style, and the two
near-identical greens unify on the dark theme's trust colour.
@l0cka
l0cka merged commit cc7047f into main Aug 8, 2026
3 checks passed
@l0cka
l0cka deleted the feat/hero-refinement branch August 8, 2026 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant